package main

import (
	"fmt"
	"nodeseller/RabbitMQ"
	"strconv"
	"time"
)

func main()  {
	rabbitmq := RabbitMQ.NewRabbitMQSimple(""+"imoocSimple")
	for i := 0;i<=100;i++{
		rabbitmq.PublishSimple("hello imooc!" + strconv.Itoa(i))
		time.Sleep(time.Second)
		fmt.Println(i)
	}
}
